i2c: bcm2835: Use dev_dbg logging on transfer errors
authorNoralf Trønnes <noralf@tronnes.org>
Mon, 19 Sep 2016 15:19:41 +0000 (17:19 +0200)
committerRaspbian kernel package updater <root@raspbian.org>
Sat, 31 Mar 2018 14:45:15 +0000 (15:45 +0100)
commitc43298656f6ce9abe7203bd01d331d71af952c48
treeafdb8ddb0a25fb6abf75527f5701b078b994b0a9
parent517182195557647da836d0372347f117ba7136bf
i2c: bcm2835: Use dev_dbg logging on transfer errors

Writing to an AT24C32 generates on average 2x i2c transfer errors per
32-byte page write. Which amounts to a lot for a 4k write. This is due
to the fact that the chip doesn't respond during it's internal write
cycle when the at24 driver tries and retries the next write.
Only a handful drivers use dev_err() on transfer error, so switch to
dev_dbg() instead.

Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
drivers/i2c/busses/i2c-bcm2835.c